UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The nosuid option must be enabled on all NFS client mounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-936 GEN005900 SV-28452r1_rule ECPA-1 Medium
Description
Enabling the nosuid mount option prevents the system from granting owner or group-owner privileges to programs with the setuid or setgid bit set. If the system does not restrict this access, users with unprivileged access to the local system may be able to acquire privileged access by executing setuid or setgid files located on the mounted NFS file system.
STIG Date
Solaris 10 x86 Security Technical Implementation Guide 2018-06-29

Details

Check Text ( C-39152r2_chk )
Check the system for NFS mounts not using the nosuid option.

Procedure:
# mount -v | grep " type nfs " | grep -v nosetuid
OR
# grep nfs /etc/mnttab | grep -v nosuid | grep -v :vold

If the mounted file systems do not have the nosetuid/nosuid option, this is a finding. NOTE: Mount options for the volume management daemon (vold) are controlled by the /etc/rmmount.conf file.
Fix Text (F-25777r1_fix)
Edit /etc/vfstab and add the nosuid option for all NFS file systems. Remount the NFS file systems to make the change take effect.